package com.example.userlogin.dao;

import com.example.userlogin.entity.Purchase;

import java.util.List;

//接口

public interface PurchaseDao {
    //    列举可能的方法
    public int add(Purchase purchase);

    public int delete(Purchase purchase);

    public int update(Purchase purchase);

    public Purchase findOne(Purchase purchase);

    public List<Purchase> findAll();
}
